package com.example.ssm.entity;

import jdk.nashorn.internal.ir.annotations.Ignore;
import org.springframework.boot.autoconfigure.domain.EntityScan;

import java.util.Date;

//@EntityScan
public class Student {

    public Student() {
    }

    @Ignore
    private String id;

    private String code;

    private String stuCode;

    private Date createDate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStuCode() {
        return stuCode;
    }

    public void setStuCode(String stuCode) {
        this.stuCode = stuCode;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id='" + id + '\'' +
                ", code='" + code + '\'' +
                ", stuCode='" + stuCode + '\'' +
                ", createDate=" + createDate +
                '}';
    }
}
